using System;
using System.Collections;

public class PlayerCountry : PDictionary
{
	public PlayerCountry()
	{
	}

	public PlayerCountry(IDictionary data)
	{
		IEnumerator enumerator = data.Keys.GetEnumerator();
		try
		{
			while (enumerator.MoveNext())
			{
				object obj = enumerator.Current;
				string key = (string)obj;
				base[key] = data[key];
			}
		}
		finally
		{
			IDisposable disposable;
			if ((disposable = (enumerator as IDisposable)) != null)
			{
				disposable.Dispose();
			}
		}
	}

	public string name
	{
		get
		{
			return base.GetString("name");
		}
		set
		{
			base.SetProperty("name", value);
		}
	}

	public string code
	{
		get
		{
			return base.GetString("code");
		}
		set
		{
			base.SetProperty("code", value);
		}
	}
}
